exports.accessTokenExpired = function(store, key = 'access_token', ahead = 60 * 10 /* second */) {
  return !(store &&
    store[key] &&
    store.expires_in > (((new Date()).getTime() / 1000) + ahead))
}
